/*
 *  CTile.h
 *  TestRPG
 *
 *  Created by Michael Rhodes on 10-06-08.
 *  Copyright 2010 Tigerstudios Entertainment. All rights reserved.
 *
 */

#ifndef CTILE_H
#define CTILE_H

class CTile {
public:
	CTile();
	~CTile();
	
	bool IsWalkable(int side);

private:
	
	// Tile meta properties
	int			m_width;
	int			m_height;
	int			m_walkable;
	int			m_tileType;
	
	// Graphical Data
	GLuint		m_TexID;		// ID of the texture that holds the image for this Tile
	
	
	// Is this tile animated, if so list to animations
	bool		m_isAnimated;
	CTile		*m_pFirstTile;	// Pointer to the first tile in animation
	CTile		*m_pNext;		// Pointer to next tile in loop (points to first tile
								// if this is the last in the loop)
};

#endif